﻿using HYHY_Core.Entities.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HYQY_Core.Entities.Ware
{
    /// <summary>
    /// 商品表
    /// </summary>
    public class WareBank : BaseEntities
    {
        /// <summary>
        /// 商品编码
        /// </summary>
        public string WareCode { get; set; }

        /// <summary>
        /// 商品名称
        /// </summary>
        public string WareName { get; set; }

        /// <summary>
        /// 库存
        /// </summary>
        public long Stock { get; set; }

        /// <summary>
        /// 商品详情
        /// </summary>
        public string WareDetail { get; set; }

        /// <summary>
        /// 商品价格
        /// </summary>
        public decimal Price { get; set; }

        /// <summary>
        /// 类目id
        /// </summary>
        public int CategoryId { get; set; }

        /// <summary>
        /// 是否设置到分类
        /// </summary>
        public bool IsClassify { get; set; }

        /// <summary>
        /// 是否设置到猜你喜欢
        /// </summary>
        public bool IsGuessWhatYouLike { get; set; }

        /// <summary>
        /// 商品状态：<br/>
        /// 售卖中：1<br/>
        /// 已下架：0
        /// </summary>
        public int WareState { get; set; }

        /// <summary>
        /// 下架时间
        /// </summary>
        public DateTime? UndercarriageTime { get; set; }

        /// <summary>
        /// 销量
        /// </summary>
        public long SalesVolume { get; set; }
    }
}
